document.addEventListener('DOMContentLoaded', function() {
    const sourceList = new SmoothDnD.List(document.getElementById('source-list'), {
        dragHandleSelector: '.list-group-item',
        animationDuration: 200,
    });

    const targetList = new SmoothDnD.List(document.getElementById('target-list'), {
        dragHandleSelector: '.list-group-item',
        animationDuration: 200,
    });

    // 双向拖放配置
    SmoothDnD.dropHandler.addDropTarget(sourceList, targetList);
    SmoothDnD.dropHandler.addDropTarget(targetList, sourceList);

    // 你可以在这里添加更多逻辑，比如处理拖放完成后的回调等
});
